<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CSS Test</title>
<style type="text/css" media="screen">
.sys-color-body { color: #000000; }
.sys-color-body-alert { color: #FF0000; }
.sys-color-body-ok { color: #009900; }
.sys-header-color { color: #D6DFF5 }
.sys-header-bgcolor { background-color: #003399; }
.sys-rhp-bgcolor { background-color: #FFFFFF; }
.sys-rhp-color-title { color: #5A7EDC; }
.table-header-bgcolor { background-color: #6681D9; }
.sys-table-color-border { border-color: #6681D9; }
.sys-table-cell-bgcolor1 { background-color: #FFFFFF; }
.sys-table-cell-bgcolor2 { background-color: #D6DFF5; }
body {
	color: black;
	background-color: white;
	overflow: auto;
	margin: 5px;
	font-size:12px;
}

td, button, input, select {
	font:12px;
}

table { table-layout: fixed; }
	
body.history table.body {
	width: 100%;
	height: 100%;
}

body.history table.body td {
	padding: 0px;
	vertical-align: top;
}

body.history td#eSortTableHeaderContainer {
	height: 0px;
	vertical-align: bottom !important;
}

body.history td#eSortTableHeaderContainer table {
	position: absolute;
}

body.history div#eSortTableContainer {
	padding: 0px 0px 10px 0px;
	height: 100%;
	overflow: auto;
}


body.history div#eSortTableContainer td {
	padding: .75em !important;
	border-width: 0px 0px 0px 1px;
	border-style: none none none solid;
}

*{font-size:12px;}
html,body{margin:0;text-align:center;over-flow:hidden;height:100%;width:100%;}
UL{list-style-type:none; margin:0px;}
/* 标准盒模型 */
.ttl{height:18px;}
.ctt{height:auto;padding:6px;clear:both;border:1px solid #064ca1;border-top:0;text-align:left;}
.w936{margin:2px 0;clear:both;width:936px;/*这里调整整个滑动门的宽度*/}
/* TAB 切换效果 */
.tb_{background-image: url('http://bbs.blueidea.com/attachments/2007/4/29/20070429_b6d924afad052649402dWs8adqAyLtgi.gif'); background-repeat: repeat-x;background-color: #E6F2FF;}
.tb_ ul{height:24px;}
.tb_ li{float:left;height: 24px;line-height:1.9;width: 94px;cursor:pointer;}
/* 用于控制显示与隐藏的css类 */
.normaltab   { background-image:url('http://bbs.blueidea.com/attachments/2007/4/29/20070429_1bd9c293199c87ac974auuJXlsPMeKDq.gif'); background-repeat: no-repeat; color:#1F3A87 ;}
.hovertab    { background-image: url('http://bbs.blueidea.com/attachments/2007/4/29/20070429_55976880c7b020703a18yOxpDn5WBaHd.gif'); background-repeat: no-repeat; color:#1F3A87; font-weight:bold }
.dis{display:block;}
.undis{display:none;}
-->
table.default {
	background: #C1DCF7 none repeat scroll 0%;
	border: 1px solid #C1DCF7;
	color: #000000;
	width: 98%;
	border-collapse: collapse;
	margin: 0 auto;
}
table.default caption {
	background:transparent url(http://blog.sunshow.net/wp-content/uploads/2008/04/bg_list.gif) repeat-x scroll 0%;
	height: 30px !important;
	line-height: 30px;
	text-align: left;
	padding-left: 10px;
	font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
}
table.default caption a:link, table.default caption a:visited {
	color: #000000;
	font-size: 12px;
	text-decoration: underline;
}
table.default caption a:hover {
	font-size: 12px;
	color: #14568A;
}
table.default thead tr {
	background: #C1DCF7 none repeat scroll 0%;
	color: #000000;
	height: 25px;
	line-height: 25px;
	text-align: center;
	font-size: 13px;
}
table.default thead tr th {
	border-color: #C1DCF7;		/* fix for IE */
}
table.default tbody {
	background: #FFFFFF none repeat scroll 0%;
	text-align: left;
}
table.default tbody tr {
	height: 25px;
	line-height: 25px;
	event: expression(
		(this.onmouseover = function() {this.className += ' over';}) &&
		(this.onmouseout = function() {this.className = this.className.replace(' over', '');})
	);
}
table.default tbody tr:hover, table.default tbody tr.over {
	background-color: #E8F0FF;
}
table.default tbody tr td {
	font-size: 12px;
	padding: 0 0 0 5px;
	border-color: #C1DCF7;		/* fix for IE */
}
table.default tbody tr td {	/* fix for IE when align="center" or align="right" */
	padding-left: expression(
		(((this.align == 'center') || (this.align == 'right')) ? '0px' : '5px')
	);
	padding-right: expression(
		((this.align == 'right') ? '5px' : '0px')
	);
}
table.default tbody tr td[align="center"] {
	padding: 0;
}
table.default tbody tr td[align="right"] {
	padding: 0 5px 0 0;
}
</style>
<script type="text/javascript" language="javascript">
//<!CDATA[
function g(o){return document.getElementById(o);}
function HoverLi(n){
//如果有N个标签,就将i<=N;
//本功能非常OK,兼容IE7,FF,IE6;http://www.xiaogezi.cn/ [小鸽子]系列
for(var i=1;i<=8;i++){g('tb_'+i).className='normaltab';g('tbc_0'+i).className='undis';}g('tbc_0'+n).className='dis';g('tb_'+n).className='hovertab';
}
//如果要做成点击后再转到请将<li>中的onmouseover 改成 onclick;
//]]>
</script>
</head>
<body class="history">
<div class="w936">
 <div id="tb_" class="tb_">
   <ul>
    <li id="tb_1" class="hovertab" onMouseOver="x:HoverLi(1);">门诊楼
    </li>
    <li id="tb_2" class="normaltab" onMouseOver="i:HoverLi(2);">
    住院楼</li>
    <li id="tb_3" class="normaltab" onMouseOver="a:HoverLi(3);">
    便门门诊</li>
    <li id="tb_4" class="normaltab" onMouseOver="o:HoverLi(4);">
    儿科楼</li>
    <li id="tb_5" class="normaltab" onMouseOver="g:HoverLi(5);">
    后勤楼</li>
    <li id="tb_6" class="normaltab" onMouseOver="z:HoverLi(6);">
    行政楼</li>
	<li id="tb_7" class="normaltab" onMouseOver="g:HoverLi(7);">
    外宾楼</li>
    <li id="tb_8" class="normaltab" onMouseOver="g:HoverLi(8);">全院
    </li>
   </ul>
 </div>
 <div class="ctt">
  <div class="dis" id="tbc_01"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'1层','bulding'=>'门诊楼'))?>">1层</a><a href="<?php echo  $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'2层','bulding'=>'门诊楼'))?>"> 2层</a><a href="<?php echo  $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'3层','bulding'=>'门诊楼'))?>"> 3层 </a><a href="<?php echo  $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'4层','bulding'=>'门诊楼'))?>"> 4层</a><a href="<?php echo  $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'5层','bulding'=>'门诊楼'))?>"> 5层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'6层','bulding'=>'门诊楼'))?>"> 6层</a></div>
  <div class="undis" id="tbc_02"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'1层','bulding'=>'住院楼'))?>">1层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'2层','bulding'=>'住院楼'))?>"> 2层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'3层','bulding'=>'住院楼'))?>"> 3层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'4层','bulding'=>'住院楼'))?>"> 4层</a></div>
  <div class="undis" id="tbc_03"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'1层','bulding'=>'便民楼'))?>">1层</a></div>
  <div class="undis" id="tbc_04"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'1层','bulding'=>'儿科楼'))?>">1层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'2层','bulding'=>'儿科楼'))?>"> 2层</a></div>
  <div class="undis" id="tbc_05"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'1层','bulding'=>'后勤楼'))?>">1层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'2层','bulding'=>'后勤楼'))?>"> 2层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'3层','bulding'=>'后勤楼'))?>"> 3层</a></div>
   <div class="undis" id="tbc_06"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'1层','bulding'=>'行政楼'))?>">1层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'2层','bulding'=>'行政楼'))?>"> 2层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'3层','bulding'=>'行政楼'))?>"> 3层</a></div>
   <div class="undis" id="tbc_07"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'1层','bulding'=>'外宾楼'))?>">1层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'2层','bulding'=>'外宾楼'))?>"> 2层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'3层','bulding'=>'外宾楼'))?>"> 3层</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'partlist','floor'=>'4层','bulding'=>'外宾楼'))?>"> 4层</a></div>
   <div class="undis" id="tbc_08"><a href="<?php echo $this->url(array('controller'=>'index','action'=>'index'))?>">首页</a><a href="<?php echo $this->url(array('controller'=>'index','action'=>'pointlist'))?>"> 全院</a></div>
 
  </div>
</div>
</div>
<hr author="http://xiaogezi.cn" size="1" noshade="noshade" style="color:#064ca1;margin-top:30px;" />
<table width="109%" cellpadding="1" cellspacing="0" rules="all" class="default">
	<caption>明细</caption>
	<thead>
		<tr>
			<th width="6%">序号</th>
			<th width="15%">房间名称</th>
			<th width="11%">所在楼层</th>
			<th width="6%">点数</th>
			<th width="7%">网点状态</th>
			<th width="11%">电脑型号</th>
			<th width="10%">IP地址</th>
			<th width="10%">交换机型号</th>
			<th width="5%">接口</th>
			<th width="8%">配线盒</th>
			<th width="5%">端口</th>
			<th width="6%">线号</th>
		</tr>
	</thead>
	
	<tbody>
	<?php $i=1;?>
	
	<?php foreach ($this->searchData as $v):?>
		<tr>
			<td align="center"><?php echo $i++;
		
			?></td>
			<td align="center"><?php echo $v['room']?></td>
			<td align="center"><?php echo $v['bulding'].$v['floor']?></td>
			<td align="center"><?php echo $v['pointNum']?></td>
			<td align="center"><?php echo $v['pointState']?></td>
			<td align="center"><?php echo $v['pcType']?></td>
			<td align="center"><?php echo $v['IP']?></td>
			<td align="center"><?php echo $v['switchT']?></td>
			<td align="center"><?php echo $v['interface']?></td>
			<td align="center"><?php echo $v['netbox']?></td>
			<td align="center"><?php echo $v['port']?></td>
			<td align="center"><?php echo $v['lineNum']?></td>
		</tr>
			<?php endforeach;?>
	</tbody>

</table>

<br>
<br>
<br>

<br>
</body>
</html>
